//
//  LWMineTableViewController.swift
//  MicroBlog
//
//  Created by 孙程 on 2017/7/13.
//  Copyright © 2017年 孙程. All rights reserved.
//

import UIKit

class LWMineTableViewController: LWVistorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        if isLogIn {
          setupNavUI()
        }else{
            vistorView?.updataVistorInfo(message: "登陆后，就牛逼了", imageName: "visitordiscover_image_profile")
        }
    

    }
    func setupNavUI() {
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "push", target: self, action: #selector(pushBtn))
        
    }
    // push 的点击事件
    func pushBtn() -> Void {
        print("点击了push")
        let testVc = LWTestViewController()
        navigationController?.pushViewController(testVc, animated: true)
        
        
    }
   

}
